import request from '@/utils/request'

export function getStuResult() {
    return request({
        url: '/result/stu/list',
        method: 'get',
    })
}


export function getApplyList(data) {
    return request({
        url: '/apply/stu/list',
        method: 'get',
        params: data
    })
}

export function getUserInfo() {
    return request({
        url: `/user/getUserInfo`,
        method: 'get',
    })
}

export function deleteById(data) {
    return request({
        url: `/apply/delete/${data.id}`,
        method: 'delete',
        data: data
    })
}

export function getTeacherInfo() {
    return request({
        url: `/user/getTeacherInfo`,
        method: 'get',
    })
}


